﻿using System.Collections.Generic;
using System.Linq;
using SportsStore.Domain;
using SportsStore.Domain.Context;
using SportsStore.Domain.Entities;

namespace SportsStore.WebUI.Service
{
    public interface IProductService
    {
        IList<Product> GetProduct();
    };
     class ProductService:IProductService
    {
        public IList<Product> GetProduct()
        {
           return ContextManagerFactory.CreateProductContext().GetProduct();
        }
    }
}